import Vue from 'vue'
// import 'normalize.css/normalize.css' // A modern alternative to CSS resets

// import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import locale from 'element-ui/lib/locale/lang/en' // lang i18n

// import '@/styles/index.scss' // global css

import App from './App.vue'
import router from '@/router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 注册全局组件
import Header from '@/components/Header'
 Vue.component(Header.name,Header);
// 引入swiper样式
import 'swiper/css/swiper.min.css'

// 全局引入按需引入UI库 vant
import '@/plugins/vant'
Vue.config.productionTip = false

Vue.use(ElementUI);
Vue.config.productionTip = false
// 引入Vuex
import store from '@/store'
import './utils/test'

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
